﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Wx.Model.Message;
using Data.MongoDb;
using Entities.Entities;
using Entities.Operate;
namespace TestWeb.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            for (int i = 0; i <= 10; i++)
            {
                Logic.Members.IMember m = new Logic.Members.Member(this.HttpContext);
                Logic.Model.MethodResult r = m.Register("15013782894", "yvh860327.");
                Response.Write(r.message + "<br />");
            }
            return View();
        }

        public ActionResult About()
        {
            //base.WxLogin();
            ViewBag.Message = "Your application description page.";

            return View();
        }

        public ActionResult Contact()
        {
            ViewBag.Message = "Your contact page.";

            return View();
        }
    }
}